package com.josework.springhelloworld.entity;

public class AppleWeightPrint implements ApplePrint{
    @Override
    public String accept(Apple apple) {
        return "苹果的重量为："+apple.getWeight();
    }
}
